home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Medabots Cardz
/
Medabots CD Cardz Rokusho.bin
/
pc
/
assets
/
rokusho.dxr
/
00029_Script_29
< prev
next >
Wrap
Text File
|
2001-12-07
|
3KB
|
93 lines
property mysprite, counting, nada
global area, transitionz, destination, amiwideopen
on beginsprite me
transitionz = "open"
amiwideopen = "yes"
set mysprite to the spritenum of me
set the blend of sprite mysprite = 100
counting = 1
end
on exitframe me
if area = 1 then
destination = "construct"
else if area = 2 then
destination = "robattle"
else if area = 3 then
destination = "profile"
else if area = 4 then
destination = "fun"
else if area = 5 then
destination = "video"
else if area = 0 then
destination = "home"
end if
if transitionz = "close" then
if destination = "construct" or destination = "robattle" or destination = "profile" or destination = "fun" or destination = "home" then
nada = 1
else
puppetsound 2,0
end if
amiwideopen = "no"
if counting < 20 then
counting = counting + 1
end if
if counting = 2 then
set the member of sprite mysprite = "open1"
else if counting = 3 then
set the member of sprite mysprite = "open2"
else if counting = 4 then
set the member of sprite mysprite = "open3"
else if counting = 5 then
set the member of sprite mysprite = "open4"
else if counting = 6 then
set the member of sprite mysprite = "open5"
else if counting = 7 then
set the member of sprite mysprite = "open6"
else if counting = 8 then
set the member of sprite mysprite = "open7"
if destination = "construct" or destination = "robattle" or destination = "profile" or destination = "fun" or destination = "home" then
puppetsound ("close"), 1
else
puppetsound 2,0
end if
-- puppetsound 2,0
go to frame destination
else if counting = 9 then
set the member of sprite mysprite = "open8"
else if counting = 10 then
set the member of sprite mysprite = "open9"
else if counting = 11 then
set the member of sprite mysprite = "open10"
else if counting = 12 then
set the member of sprite mysprite = "open9"
else if counting = 13 then
set the member of sprite mysprite = "open8"
else if counting = 14 then
set the member of sprite mysprite = "open7"
else if counting = 15 then
set the member of sprite mysprite = "open6"
else if counting = 16 then
set the member of sprite mysprite = "open5"
else if counting = 17 then
set the member of sprite mysprite = "open4"
else if counting = 18 then
set the member of sprite mysprite = "open3"
else if counting = 19 then
set the member of sprite mysprite = "open2"
else if counting = 20 then
set the member of sprite mysprite = "open1"
transitionz = "open"
amiwideopen = "yes"
counting = 1
end if
end if
end